import { RouteRecordRaw } from 'vue-router';

export const xtclRouter: RouteRecordRaw = {
  path: '/xtcl',
  name: 'xtcl',
  component: () => import('@/layout/routerView/parent.vue'),
  redirect: '/xtcl/sjrh',
  meta: {
    title: '协同处理',
    isLink: '',
    isHide: false,
    isKeepAlive: true,
    isAffix: false,
    isIframe: false,
    roles: ['admin', 'common'],
    icon: 'iconfont icon-quanxian',
  },
  children: [
    {
      path: '/xtcl/sjrh',
      name: 'xtclSjrh',
      redirect: '/xtcl/sjrh/yjdyrh',
      component: () => import('@/layout/routerView/parent.vue'),
      meta: {
        title: '数据关联融合',
        isLink: '',
        isHide: false,
        isKeepAlive: true,
        isAffix: false,
        isIframe: false,
        roles: ['admin', 'common'],
        icon: '',
      },
      children: [
        {
          path: '/xtcl/sjrh/yjdyrh',
          name: 'xtclSjrhYjdyrh',
          component: () => import('@/views/sjrh/yjdyrh.vue'),
          meta: {
            title: '预警单元融合',
            isLink: '',
            isHide: false,
            isKeepAlive: true,
            isAffix: false,
            isIframe: false,
            roles: ['admin', 'common'],
            icon: '',
          },
        },
      ],
    },
    {
      path: '/xtcl/mstjfx',
      name: 'mstjfx',
      redirect: '/xtcl/mstjfx/task',
      component: () => import('@/layout/routerView/parent.vue'),
      meta: {
        title: '描述统计分析',
        isLink: '',
        isHide: false,
        isKeepAlive: true,
        isAffix: false,
        isIframe: false,
        roles: ['admin', 'common'],
        icon: '',
      },
      children: [
        {
          path: '/xtcl/mstjfx/task',
          name: 'mstjfxTask',
          component: () => import('@/views/mstjfx/task.vue'),
          meta: {
            title: '描述统计分析',
            isLink: '',
            isHide: true,
            isKeepAlive: true,
            isAffix: false,
            isIframe: false,
            roles: [],
            icon: '',
          },
        },
        {
          path: '/xtcl/mstjfx/result',
          name: 'mstjfxResult',
          component: () => import('@/views/mstjfx/result.vue'),
          meta: {
            title: '描述统计分析结果',
            isLink: '',
            isHide: true,
            isKeepAlive: true,
            isAffix: false,
            isIframe: false,
            roles: [],
            icon: '',
          },
        },
      ],
    },
    {
      path: '/xtcl/sjycfx',
      name: 'sjycfx',
      redirect: '/xtcl/sjycfx/sjycfx',
      component: () => import('@/layout/routerView/parent.vue'),
      meta: {
        title: '数据异常分析',
        isLink: '',
        isHide: false,
        isKeepAlive: true,
        isAffix: false,
        isIframe: false,
        roles: ['admin', 'common'],
        icon: '',
      },
      children: [
        {
          path: '/xtcl/sjycfx/skycfx',
          name: 'skycfx',
          redirect: '/xtcl/sjycfx/skycfx/task',
          component: () => import('@/layout/routerView/parent.vue'),
          meta: {
            title: '数据异常分析',
            isLink: '',
            isHide: false,
            isKeepAlive: true,
            isAffix: false,
            isIframe: false,
            roles: ['admin', 'common'],
            icon: '',
          },
          children: [
            {
              path: '/xtcl/sjycfx/skycfx/task',
              name: 'sjycfxTask',
              component: () => import('@/views/skycfx/task.vue'),
              meta: {
                title: '时空异常分析',
                isLink: '',
                isHide: true,
                isKeepAlive: true,
                isAffix: false,
                isIframe: false,
                roles: ['admin', 'common'],
                icon: '',
              },
            },
            {
              path: '/xtcl/sjycfx/skycfx/result',
              name: 'sjycfxResult',
              component: () => import('@/views/skycfx/result.vue'),
              meta: {
                title: '时空异常分析结果',
                isLink: '',
                isHide: true,
                isKeepAlive: true,
                isAffix: false,
                isIframe: false,
                roles: ['admin', 'common'],
                icon: '',
              },
            },
          ],
        },
      ],
    },
    {
      path: '/xtcl/sktxfx',
      name: 'sktxfx',
      redirect: '/xtcl/sktxfx/jjdfx',
      component: () => import('@/layout/routerView/parent.vue'),
      meta: {
        title: '时空特性分析',
        isLink: '',
        isHide: false,
        isKeepAlive: true,
        isAffix: false,
        isIframe: false,
        roles: ['admin', 'common'],
        icon: '',
      },
      children: [
        {
          path: '/xtcl/sktxfx/jjdfx',
          name: 'jjdfx',
          redirect: '/xtcl/sktxfx/jjdfx/task',
          component: () => import('@/layout/routerView/parent.vue'),
          meta: {
            title: '聚集度度量',
            isLink: '',
            isHide: false,
            isKeepAlive: true,
            isAffix: false,
            isIframe: false,
            roles: ['admin', 'common'],
            icon: '',
          },
          children: [
            {
              path: '/xtcl/sktxfx/jjdfx/task',
              name: 'jjdfxTask',
              component: () => import('@/views/jjdfx/task.vue'),
              meta: {
                title: '聚集度度量',
                isLink: '',
                isHide: true,
                isKeepAlive: true,
                isAffix: false,
                isIframe: false,
                roles: [],
                icon: '',
              },
            },
            {
              path: '/xtcl/sktxfx/jjdfx/result',
              name: 'jjdfxResult',
              component: () => import('@/views/jjdfx/result.vue'),
              meta: {
                title: '聚集度度量结果',
                isLink: '',
                isHide: true,
                isKeepAlive: true,
                isAffix: false,
                isIframe: false,
                roles: [],
                icon: '',
              },
            },
          ],
        },
        {
          path: '/xtcl/sktxfx/yddbxfx',
          name: 'yddbxfx',
          redirect: '/xtcl/sktxfx/yddbxfx/task',
          component: () => import('@/layout/routerView/parent.vue'),
          meta: {
            title: '样点代表性分析',
            isLink: '',
            isHide: false,
            isKeepAlive: true,
            isAffix: false,
            isIframe: false,
            roles: ['admin', 'common'],
            icon: '',
          },
          children: [
            {
              path: '/xtcl/sktxfx/yddbxfx/task',
              name: 'yddbxfxTask',
              component: () => import('@/views/yddbxfx/task.vue'),
              meta: {
                title: '样点代表性分析',
                isLink: '',
                isHide: true,
                isKeepAlive: true,
                isAffix: false,
                isIframe: false,
                roles: [],
                icon: '',
              },
            },
            {
              path: '/xtcl/sktxfx/yddbxfx/result',
              name: 'yddbxfxResult',
              component: () => import('@/views/yddbxfx/result.vue'),
              meta: {
                title: '样点代表性分析结果',
                isLink: '',
                isHide: true,
                isKeepAlive: true,
                isAffix: false,
                isIframe: false,
                roles: [],
                icon: '',
              },
            },
          ],
        },
      ],
    },
  ],
};
